9fe0118 Fix jquery throwing exceptions on wrong query syntax