Fix syntax error on site delete