Last fix was too specific

The idea is that if a document is opened for the first time at a point
where, if quick info is attempted, the parser has not completed parsing,
the parse contents won't be available yet. So this fix needed to be a
bit more general.