Changed the way to check if application is on a waiting list