Bugfix for "getValueIds"