Make next skip first key-value when the value is 'nil'

Fixes #48.