fixes a bug within the versioned entities