fixed issues causing group making function to crash if there were no tanks when it was invoked.
fixed an issue that was causing characters with only one role (healer or dps) to not be prioritized for that role in a group, sometimes leaving them out of groups completely.