SERVER-14732 Fixed an issue where a cursor locate was being called with an empty argument

Closes #728

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