Checking for invalid bus numbers