MHAPI predicate causing app crash fix