Bug fix: closing shadow copies failed due to incorrect date value being passed.