Null check in categories DeleteServlet