Fixed returning an empty list.