Fixed the bad else if for PDF viewer determination here too.