Dijeron que nos pagarían las horas extra trabajadas cuando ________ el mes.
They said they'd pay our overtime when it was the end of the month.
I don't understand why this sentence fits this lesson. Surely there cannot be much uncertainty that there will be an end to the month. Wouldn't this make more sense in the indicative?