FIX: parenthesis were wrong, resulting in an always true expression (PR #9690)

GitHub