Children with the condition were found to have more memory issues than those who didn't have it