Improved const correctness of node predicate in selection infrastructure
Signed-off-by: Ralf Floca <r.floca@dkfz-heidelberg.de>