Fixed bug in evalDetection filtering