Small bug fix to upctest pnd.