Add query limit so that updates can't take the system down.