Update ListResult.php

Fixed bug in key() referencing non-existent variable.
Merge pull request #1 from geoffreytran/patch-1

Update ListResult.php