Prevent bad sequential titles

Don't try to set the title if we don't have anything in
the sequential

LMS-2168
Merge pull request #2477 from edx/diana/fix-sequence-titles

Prevent bad sequential titles