fix filterSizesInvalid setting