Calculate next day cutoff correctly