Changed epmem and smem param code back to using their own version of enums and db predicates