Fix archive button on messages page when using archive_type != '' (#1489404)