Fixed result logic bug in project API