fix diff retrieval in the event there's no last published
also align karma badges a bit better