Changed the quantifier wrapping criteria.
Changed the quantifier wrapping criteria.

We now use the expression type rather than the parenthesis to avoid a potential future bug if parenthesis code is altered.

gauravmm/Navelgazer,gauravmm/Navelgazer