Proper .attr() for empty set.