Solved defect not showing results per page selected value properly when going directly to search results page without the value of ResultsPerPage set in the query string.