Fixes a bug where the app would crash if the head-type was used on any other class than coworker.