fixed inheritance issue caused by non-deterministic key enumeration - see #15