Fix bug when listsnapshots=on ia set.