A playgroup once served with a legal notice to reduce harms has made “significant improvements” to be ranked as good by Ofsted.