Fix #1086: grab the correct dataset information