* Allow indexOf to work with Codec eq * Convert to type before check * Swap compare (in case of empty/invalid values)