removed check for empty set

it messed things up by not splicing.