Fix check in min modification time