Fix query filter extraction from query parameters.