Operation cannot be performed on an active dataset - fixed