Filter on type widget
Renamed $result to $results
Return empty string when nothing found