Fixes #8237 : Validate that the user can not set max_content_hosts if un...

...limited_content_hosts is true
I don't necessarily have a strong feeling, just following our typical patterns. However, you will have to switch to `if !value.nil?`