EUCA-7885

updated logic to fetch allimages if list is <= the size of the user images list since the two are merged