Fixes a bug where HTTP Status Code changes where not persisted