multiple interval bugfix