I just spotted that in the help at the same time as your reply came in! Thanks Florian.
I'm just wondering what the alternative is now. Would it be to put it in the projection list instead and then add it to the WHERE clause of the caller if it's filled and not add it to the WHERE clause when it isn't filled?