Fix a bug reverting snapshots:

https://forums.freebsd.org/viewtopic.php?f=48&t=43577&p=242359#p242359

Thanks Mike!