Adapting to the value=null case in the model predicates