Ramil's right. It's all about textual discourse. It's not easy to say wether it's a mistake or not without proper studying of the whole text.