Fixed bug in SQL insert query