fixed a bug in the combination functions when the asked for sequence was 0 length