Fixed issue #2222: 'Prune' in the pull dialog does not work