Fixed a concurrency bug in changefeeds.