Isn't this supposed to be `collection_classes.first || collection_classes.last`?