Properly set the filter mapping pattern