fixed SQL OR symbols that were messing up the ats tables