Add a .filtered_by_path scope to Mapping
 Avoid LIKE '%%' query in Mapping.filtered_by_path scope
Filtering should keep the filter field populated.
Filtering should also allow removal of the filter when no matches are found.