Conditional formatting for show and hide conditions is not working properly