Fixed wrong bot checking