CORE-4465: fixed a problem with the way that the filter parameter was being extracted