Modified filter to use ServletPath as a fallback when no controller is specified