Fixing issue where the all-link annotation option showed up on rows that
it shouldn't have. Also fixed issue where all-link annotation dialog
failed.