Check archive is equal to 0 when getting latest bin

- [x] Closes #1206