Handle empty courses gracefully (no assignments etc.)