Refactoring the feature_topic_users method

Refactoring the feature_topic_users method to improve the code climate score.

Under normal circumstances I would include tests, but the coverage from existing jobs that use this method, such as Jobs::FeatureTopicUsers, seem to cover it pretty well.