Fixed AI-consideration in command service

Further fixing command service