Why my conditions are not working with Collapse tool?