Call next() when no result

Signed-off-by: Ian Macalinao <me@ian.pw>