[Mantle/remind101] Added block return type. Added error checking when using uniquing predicate.