Solves problem on offer_from model