Check images by ids, not by count. lp#1088515

Change-Id: I0ec2d06615f1fff834c72599847e39a01678529f
1 file changed