Fix for an obscure corner case.