BZ-999282: Duplicate current page' button takes user to incorrect page