Fixed bug which allowed bogus types to be added to a money object