fix foreach error on false value in iblock