The setting is always active since the first if doesn't check the .value of the setting.
The first line of data-final-fixes.lua should be:
if settings.startup["only-tautological-recipes"].value then
instead of
if settings.startup["only-tautological-recipes"] then