HUE-2224 [beeswax] Ignore escaped characters while splitting queries