Fixed a bug where redefining an attribute would cause all of its options to be lost