LPS-46155

In short, in "after-filter" case, use last; currently we're using the first index. Support multiple mappings per filter.