Updated check for immediates and rels.