fixed a bug in the way get-action-tokens was determining the timestamp to use