Fix wrong condition in PropCheck task.