The sentence should read:
The children were not allowed outside on Saturday afternoon if they had not finished their homework, which did not make them very happy.
This means that the error is in number 3: afternoon only if they had finished.
All of the other options are technically correct.
I hope this helps! :)