Fix rendering issue when variable is a boolean set to false