isDR() was returning null instead of empty string