Fix multiple CommandItems not working, and fixed a CommandItems error.