Show/Hide conditions not working