Fix a bug that can occur if the sunrise/set calculator returns a negative fraction.