PreviousPath changes to support detail pages