fix subtle bugs in createChangesStream end logic
4.4.3