The last {% put %} should take priority, as is the order of cascading.