Fixed a bug in processing of bol