Get previous version correctly by not doing timezone conversion again

Fixes #1003