Added fix for search_api_ranges module bug