Added support for NIL results for Custom objects

Signed-off-by: Darren Ehlers <me@darrenehlers.com>