[3.8] Fix #913 Selection error in publication mode