ArrayHash -
1. Checked for bignumber entries
2. Changed if-else to ternary operator