Fixed SQL injection scurity issue.