fixed a small bug in localizeErrors: logical vectors where converted to character vectors (needed for bb, but not for mip)