Make comparison strict to consider different field types