Missing search query get params in ajax call