Issue 644 - hasChanged uses strict comparisons so we need to ensure datatype