`dispatch` here returns a composite expression. You should probably apply it to the query builder.