Bug fix in request filter.