I have an object A which has lookup relationship to object B.
The lookup relationship field on object A is not required.
I recently added filter criteria to this lookup relationship field. (Added a custom checkbox field name Inactive on object B. Only active records of object B should be available for selection.)
Adding this criteria invalidated some existing records where the related record has now been set as Inactive.
This is causing an error whenever user saves the record by changing value in any field.
Error: Value does not exist or does not match filter criteria.
What are some ways to deal with this issue.