Fixed additions SQL issues.