Added a null check on a Boolean in EntityTransform.