SERVER-15343 Advance cursor only if not at EOF already.

Closes #788

Signed-off-by: Benety Goh <benety@mongodb.com>