Change fix for #157 (commit: 9a83e05 ) not to make two map lookups.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>