Fixed bug for todo double entries