fixed bug where mappednodes wasn't context-local and multi-sim dbs were being ignored