Changed assumption in cons tool to relate by reference to the production
panel rather the selection frame.