Fix some logic in the OnlyShowIn checks