Fixed SCR queries so changes queries works also in Wikimedia gerrit