Removed few clones and modified the code in KLP_DEOHistoryquery file