Please check the other attributes of results as well - iow, the length of results['staged']['add'] and the present of results['staged'].