fix(demand): Throw on invalid key namespace