Activity is an array and need to set rank at create.