Fix delete site query string, with tests.