Modify all() to work with nested input arrays
Merge pull request #2680 from bryannielsen/4.0

Modify Input::all() to work with nested input arrays
Fix index naming problem.