Non-unique query generation.