PEP8 fixes
Renamed "type" to "search_type"