Web UI: fix automatic print selection. Refs #2742