On component interactions in two-stage recommender systems