Added a check to prevent errors from achievement items when there are no open sets.