Fixed bug where getRarities returned list of Types