Profile doesn't have an id column. pk is user_id.
[bug 1058622] Fix check for None