Fix unmodified check