Fix logic when creating indicators.

If we have an IP object create an indicator for that, but always create
the indicator for the domain if told to create indicators.