reverting change :o

RevertQuery introduced in order to execute reverts in more
effective way