Make sure that whenever we substitute a realisation, we also substitute its entire closure
Despite being an ugly hack, it can probably be useful in a couple extra places