My gut feeling says that the order of your current template is 0 , which means it would have been applied first and later on you have some template which also matches your index pattern and has some different config and that could be overwriting the earlier config with new one,
Just check if you have any template which also matches this index pattern , may be a template with * as index pattern ?