Removed some unnecessary tests; if you call `key` or `current` when `valid() == false` then it is undefined behavior anyway.
Removed some unnecessary tests; if you call `key` or `current` when `valid() == false` then it is undefined behavior anyway.

JeroenDeDauw/Ardent,morrisonlevi/Ardent