Add constraint to check if track exists before trying to initialize it