Add null check to PlaneDAOImple