Set comparisons for checking whether users had received a petition were failing on type differences. Explicitly cast Redis set members as integers on return.