Fixes for array out of bounds

For some special books that has no NCX, but navigation not empty, bad access exception raises.
The special books' navigation contains pure text rather than links.