Fix scenario when no versions at all