fix rationalize (#5935)

Potential fix for #5935. Travis failure likely to be #8200.

cc @rickhg12hs @StefanKarpinski 
Should maintain this comment.