Fixed insert queries.