STUPIDROBOT,ZENTAG update query
for stupid robot, now it picks the least recent one from the images that has
no less than 5 tags if there is enough image(now the threshold is 15)
for zentag, it picks the least recent one with least tags