As long as there is not an error in reading and filling the value here is what I "think" may be the issue.


 Code:
For Each $value in $aResults
  'entry is: ' + $value ?
EndIf


If that does not help let us know.