Fix dm5 prevURL in both menu templates