Even more SQL INSERT fixing