Added default parents option for getSelection