fixes an issue with _findAndModify not return null on upserts