Fixes to not_if in hdp_pseudo