Fixed problem when saving usable type to DB