Added error catching for Nuke versions that don't support the recurseGroups option.