Delete previous owners and add new primary owner queries work