Remove useless return for hasRelativeKeywords