Fixed profession rank detection