--HR-267 Modification to remove reference key error for upgrade