Fixed bug for double-clicking on archived items

Fixed a bug where it was possible to go into edit mode on archived items
without being logged in.