Prevent exceptions in backend when the entity classes are not up to date.