Backport fix for broken 5.4.3 release. Remove 5.4.0 and 5.4.1 since 5.4.3 was released just after and those are broken.

Normally we wouldn't do this, but we need to fix the current maintenance release as it is being used internally.