Tweak unique/JSON views for correctness/consistency.