Updated applicant view logic, no longer fails without application.
Refs #516
Move var declaration.
Merge pull request #520 from angaither/update-admin-view-logic

Updated applicant view logic, no longer fails without application.