Fixe sql controller issue where data already exists and skip is true