The problem was that a boolean value could not be set to be null. EF will always see it as necessary. I modified
IsModified bit null
IsModified bit not null default 1
. and made use of migration to update the existing entries with default values.
https://docs.microsoft.com/en-us/ef/core/modeling/required-optional is the reference.