Fixing seconds serialization.