Fixed condition for project items removing