Check annotation for nil before adding to array (prevents a crash)