Set default value to null for Input::only instead of being undefined.
Input keys being preserved to prevent reindexing.
Merge pull request #1349 from coolhome/patch-5

Input Patch