Fix Catalog::SetValidity() signature.

The method took bool argument while the uses already passed an enum to
it. Fix this by standardizing on the enum.