Fix bug where the datepicker caused scrollbars to appear before searching for the first time.