prevent NPE on closing already closed sessions
Don't add nulls to hint collections. Make DbListInterator to work as Iterator specification. Tests added.