[46273/46484] ProfessionParser: Fixed possible IndexOutOfRange exceptions