Added condition to filter out mismatching consts as immediates