Solves #191 (closed) by having the error message cover both the "too many keys" and the "zero keys" situations.