Added controls to avoid to insert duplicated daily nor transactions.