Fix #3: filter scope accept ActiveRecord relations and model classes