Improved treatment of glitch in npcopula when u is input