fixed connection query for finding connections between 2 articles with relation and added support for boolean equal