`where` should support string keys