Add length limitation to search query in the header.