Replaced loop with if statement to check if the entity has the disqus field