Updates to interval-query