is status going to be a string? I think I remember seeing ints and str being compared and failing. I can't remember if this is the case here.