Fix parsing of empty id list.