In Relation#empty? use #exists? instead of #count.