Fix add_bundle to add a record entry and verify integrity of add