validateDetections function

Compare original detections with the valid movements and exclude invalid detections