Fixed bug when the predicates haven't been reset