Fixes to selection and validation notebook