[NGRINDER-713] Remove the unncessary local agent db query.