Fixed bug when we want to remove a non xa datasource