fixed wrong retrieval of the deals for pipeline