fixed bug in handling of list of observation ids