fixes #16 baas query handling of where params