Filter measurements with invalid data