Fixed code for lists example

Lists method can't be used on an Eloquent set.