Minor clean-up.
Fixed some NPEs when searching for a method based on a null actual
argument.