Fixed a bug with inventory selections.