parseCategory edited to avoid looping till infinity while getting related stories