The check around function which is only supposed to be used for non-multires case was gone after aea8c0102a.
aea8c0102a