Fix bug regarding database query bindings using values containing commas