Fixed missing comma, and added condition to type selection display.