Move the sign check code to after the type check code in pipes.