Swithed to using '==' instead of 'eq'