Fixing invalid iterators if filtered_cloud_topic is not set.
Fixing indentation of an if statement.