Handle single lines in unique func

Handling the case where our sequence has one line