Fix isDirty when comparing bare arrays