Fixed loans duplication issue