bug with embedded offset in query builder