Missed an edge case in which object's would not be returned if they weren't array when second argument was null. Also added some tests cases to verify its fixed.

The documentation is going to get a little confusing, because if index key or column key is a string, then data MUST be an array..