Set packet roster val after test, not before

The roster would never be fetched as the compared items had been set equal the line before
Merge pull request #13 from alanz/patch-2

Set packet roster val after test, not before