Fix bugs in refresh_related_bugs
Making the list of related bugs better
Merge pull request #8 from ertaiNL/master

improvements to refresh_related_bugs