Adding query to useMoralisSubscription

Iā€™m implementing event sync and useMoralisSubscription. Works very well. However I want to add a query and only run the subscription callback if the query matches.

For example:
useMoralisSubscription(ā€œTableNameā€, q => q.equalTo(ā€œcolumnNameā€, ā€œcolumnValueā€),[],onCreate() => console.log(ā€œevent firedā€))

This doesnā€™t seem to fire the event on the client side. Am I missing something or using the hook incorrectly?

Thanks.

This was in fact working correctly, I made a mistake.
The above code works.