Bug fix: wrong comparison in Bot changed