Fix bug: able to search non resource project item