Fixed error message when key doesn't exist.