Correct logic error preventing iOS alert dictionary payload

Fixes https://github.com/urbanairship/python-library/issues/14