fix core lagen selectie

hand picked from: 39d639e89bc7b86754379f0bf3333105fdee9f1a