New approach to solving last viewed bug/weirdness