Checking for filters with nil values.

Hard to see where/when this started happening... maybe a side effect of using select2 for the work package filters on the new timelines view. Result is that the created query used in timelines has a few filters on it which have operator '=' but no values. Have just put in a check so that it doesn't try to iterate over nil when validating the filters.

This doesn't seem worth writing a test for.