I think this should be `if @recently_viewed.count > 0`.