Fixes the sql check for isLegitMail