fix warning in getKeysInCurrentBase
closes #947