don't report 0 as end position of query