Remove debug_print calls from predicate.