[Mac] Fixed: Don't iterate through selected rows when row count is zero