Where is query bug fixed