Reset prefetch iterator if prefetch or query settings are changed (#219)