Small fix on function for related content