Fixed some beus in the change management code that cause no content to be returned when using ZODB 3.