Fixed AI -- problem was that implicit return works fine, my explicit return of false was breaking the loop