Added query limits.