Fix for partial_search