Fix logic for rendering deps with multiple srcTypes