Minor fixes
Slightly updating find-end-quote function