Fixes itemgetter behavior for empty string values

A blank string would cause the helper to attempt to index or slice the instance itself, which was usually not the intended behavior.