Advanced -> SQL Query fix the null handling for the SQL inserts statements.

git-svn-id: http://fusionpbx.googlecode.com/svn/trunk@4628 e2954ef0-caed-11de-bd98-e341d93cc3cc