odb_foreach() issue