Fixes #844 - Label predicate do not work on optional nodes that are null