Simplified logic, no semantic changes.
Added empty option for Ticket Types.

Fixed bug#9191 - When ticket types are restricted, first available
type is selected in AgentTicketActionCommon-based screens.
Fixed typo in comment.