Attach the selected variant to KnuthPageNode in order to propagate the information down to area tree creation. Patch by Seifeddine Dridi, applied with some modifications.