selected image count fixes and default selection behavior