Added check for in use in label scan, as well as an integration test to guard against regression