Fix path generated by $filters service.