bugfix for #778

fixes #778 ImageBoolIndicator returns null pointer