Renaming the extra object on the selection layer as 'extraVars' and removing fromWFSFlag from the global namespace