Fix a bug with user IDs