Fixed a badges collections bug