One final change to ls_vals.

Now it works properly with all keys.