Fix seg fault when invalid keywords are used.
Fix seg fault when invalid keywords are used.

PR:		bin/4253
Submitted by:	Jesse Rosenstock <jmr@ugcs.caltech.edu>

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase