Fix up some bad code as a result of incorrect Trello docs
Merge pull request #1 from lukegb/patch-1

Fix up some bad code as a result of incorrect Trello docs