Fixing bug in coordinate epoch conversion