Added a check for guest name missing.