fix used with  another attribute, days is ignored. bugid:111569