Improved handling of versioned entities in ConfigManagementBundle and SpecificationBundle