Fixed fatal bug in inheritance handling of batch_fetch