Update AbstractQuery.php