LaTeX reader: Fixed regression introduced with last commit.

Tests now pass again.