Fixed a parsing issue when no professor found (usually at end of list/wrong table)

Appears to happen if there are tables (non-visible) at the end of the
list, which are parsed.