Fixed bug in InlineDataset