Allow viewing deletions.

If we actually have a diff, there's no reason to prevent showing it.
Fix some inspection warnings.