Possible fix for #406
Fix store search algorithm when no open appstores from availableStoreNames found on device.