Fixed bug causing composite bot to crash.