Check that faction_num is valid.