Added baseUri check on partition delete