Fixed crash when selected ride is undefined