Fixing the now working ROLLBACK on sql query