Simplify watchGroupFn assignment using ternary

Assigning true/false I've changed to use a ternary operator as it's better suited.