Fixing SQL injection security issue.  FML.