When a layer is unchecked and it is not in any group don't show a warning message.