Fixed if test condition in manage.jsp