Only remove constants that exist