Fixed a bug in the InspectionViewController.