Issue #2980649 by nuez, Berdir, rbayliss, anon: Add a limit to the query executed for the autocomplete results