[Bug 413484] setAttribute in nosql session management better handles _dirty status