don not delete pending_x attributes for session

if the session was commited multiple times, it crashes.