Refs #414. Fixed usage of a couple variables.
Refs #414. Fixed an invalid list case with editor-only elements that wasn't working and added a test for it.