strip quotes from stripped query