fixes serious typo
fixes wrong lookup on singleton intervals