[UBI] - Interval tree fix

Quick fix argument checking for remove function
[UBI] - Fix on interval trees

Arguments checking for remove function updated.
[UBI] - Interval tree

Added a forgotten case in the removal function