Changed the algorithm for decision retrieval for listing page