changed list to all_ids. Fixed bug

Signed-off-by: tanji <nicholastanjerome@gmail.com>
Merge branch 'develop' of https://github.com/nicolaisi/couchquery into develop