Fixed an issue with recording partition offset and duration.