Updated KVLib, fixing issues related to subkeys without children