[#43246999] Made selectChildren recursive, and select a simple function that justs selects the item.

Changed the functions that called `select` to instead call `selectChildren`.

In addition, in `selectChildren` I changed this: `if (state && params.deepLoad) {` to this: `if (state && params.deepLoad && !indirect) {`. This makes it so it only calls `loadAll` on the node selected, and not all of it's children. This prevents unnecessary calls to `loadAll`.