Make sure selected elements get flagged on build
Remove a bogus console call.