Fix logic error preventing iOS alert dictionary (https://github.com/urbanairship/python-library/issues/14)