My show/hide conditions are not working properly