Remove unused delete query.