Correct replacement for ifAny helper in deprecation warning

The "ifAny" helper should be replaced with the "if" helper.