Issue 398

Wanted to fix the issue, but also wanted to make the code a little easier to understand
For completeness, I think you should add a check for ``seqs_id is None`` (or note why you that can't happen, if it's related to the above check (in which case, maybe this should be an ``elif``).