Add comment for clarity and logging for debugging.

These changes make it easier to verify that replication controller is doing the right thing. (Made while looking at #863.)