Comment the logic of the conditions to select where to place the limit