Dealing with Uncertainty in Contextual Anomaly Detection