fix issue with copy of couchdbkit LazyDict
add case wrapping for pact patients