Fixing a bug in logging with insert queries