Fixed up a few small issues related to convolving functions in invert.