Ensure getIn and updateIn are provided valid key path. Fixes #256