unmatched list template error fixed.

I was trying to figure out ways to restrict certain entry actions
to certain unmatched data type. I inadventently left experimental
codes lying around. This caused templatesyntax error.