Manual query change