Flow patterns in viscoelastic liquids upstream of orifices