Merge pull request #296 from NamelessCoder/mergedconfigstop

[BUGFIX] Stop merging root line variables when invalid pages are encountered