[Fix #78] Convert nil to hash in input options