[backport] fix #1765 - fix broken project search