Added selectAttributeRecursion method which can take any amount of
inputs and select based exclusively on them.