fix articles related by tag code snippet. it now works