Fix bug with undefined method `entries'

lnums_for_str definitely expects an Enumerable, but here we're passing a string.