Grab the race from the profile id, not the app id

Fixes #490