"Filtering in related table could not be applied" error