An interesting thing to note is that if the goal was, instead, to match the category's ID property, then the second alias would not be necessary as you could compare product.Category.ID directly; but any property other than ID will require an additional alias.