SelectAll: Bug fix

@nursix I have given selectedRows[t] an id which doesn't exist. So the API checks for all id not equal to this and works on them. Previously, the check boxes were getting checked but it wasn't assigning the staff to the project.