Context: Reverted commented check of mem_type for MEMORY_NOT_INITIALIZED