Avoid ActiveRecord error on Mapping filter

* Rephrase Mapping.filtered_by_path to avoid ActiveRecord::Relation
  visit error