v0.31 introduces a small schema correction.
Sleep and activity stage counter fields stop using form recorded_{type}_events and instead use one of recorded_activity_{type}_events or recorded_sleep_{type}_events
recorded_{type}_events
recorded_activity_{type}_events
recorded_sleep_{type}_events