fix debug message for unsupported predicates and returns nil