Fixing undefined when sending a model to create new league