Fix values() and items() when broken soft links are present

When broken soft links occur in a group, makes the corresponding entries in values() and items() None.