fix bug where passing an empty version list to logs api