Do a
/worldconfig lungCapacity
and check what value you get when in the world with the problem.
If it's not the desired value, set it with the same command and desired time at the end.
The config file is only used when creating new worlds, and not read once the world has been created, so changing anything in the config file will not do anything, because the parameters used is fetched from the world data file.