(refs #567)Fix condition of repository search for issues.