Keep backward compatability in LSM metadata parsing.

Refs #1244
The variable for searching the list of string/flag combinations shouldn't
be static, only the declaration should be static. Reference #1240, #1243.