Fix priority selector when open in new window (#1489257)
Better check for priority header