Cleaned up search methods a little bit. Deleted unnecessary comments.
Extracted helper method for parsing positive int params.