This makes them appear when show is checked and hide when not checked. The logic before was reversed.