metadata_modified is only calculated by during package_dictize which defeats the whole point of making this faster...

The only sensible way I currently see not exclude the cases outlined in the email is to add an extra field to the package table i.e a cached metadata_modifed field.