Fix comparison of frozen sources.

The `changes` variable was no longer read anywhere, so I cleaned that up while I was in there.