Fixed minor bugs when calculating minimum temperature