Show/Hide conditional logic is not working