Fixed TypeError in formations:create.