fixed bug in exactly predicate