Fix filter_path if request path is None