Generation error on bad title fix.

When generating docs, generation fails if the title does not exist. Check to see if the title exists to avoid error.