Add guard for EnumX.without_index/1