Fixed error where new sql hacks couldnt handle duplicate inputs