Fixed bug in OCSB when all values equal to zero