Adding missing query prefix