Minor checks and comments for search route