Set status to (u) if needphase doesn't exists and operation = upgrade (closes #3509)