Fix infinite $digest loop.