Added so non-list, non-dict values can be sliced into a dict. Fixing argument issue