Avoid ActiveRecord error on Mapping filter

* Rephrase Mapping.filtered_by_path to avoid ActiveRecord::Relation
  visit error (not sure why this ever worked with mySQL)