Bugfix: Get coinstake flag and timestamps from undo data