Fixed a JS bug that occurred when hiding archived boards without a board selected