Profile doesn't have an id column. pk is user_id.
[bug 1058622] Fix check for None
[bug 1058622][bug 1061433] Live indexing of users as they contribute.

This reverts commit 4466618608fbbe7f5937e7f863067ba4ede42243.