Fix retrieving provided and consumed contracts for EPG