Fix blank .alert when no session variable assigned