Fix synchronization of not null boolean fields