Long MAX.VALUE causing overflow when converting to seconds