Fixed better error message in rejectApplication