Add reversed support for mockquery