resolving issue #18 where the filter was not properly extracting the contextPath or custom mapping