Show condition for collapse field not working