Hi,
I'm a Canadian software engineer and SQL expert. In addition, I'm good at optimizing queries to run fast.
I would want to know how you're populating your filter inputs, and the database column definitions and data to know what I would expect at the getBusinesses() function. Which filter field is it working for?
Obviously this wouldn't take long and I do have time right now, so if you want to discuss it, send me a message.
Cheers,
Brad Gies.