Compare raw query instead of parsed one