Added functionality to delete result sets