Remove auto-quotes from queries; add min_query; halve max_query.