There is something wrong with this foreach.
The last value from $myregions is not picked up but has again the second value 'georgia':
<?php
$myregions = array('florida','georgia','delaware');
foreach ($myregions as $value) {
myfunction(array('region'=>$value)) ;
if(count_items()>1) {
if(has_items()){
draw_item($class);
}
}
}
?>