Replace deprecated use of Relation#first with finder options
Replace deprecated filter method in Filter class