Fixed a bug in Oktato class.