Subtle change in toUnid method to improve efficiency.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>