Changed ecos_bb to ignore 0 length boolean and integer indices