Gitlab badge display unknown for allow_failure: true step

Hi all, is it possible to display correct coverage percentage for failed pipeline? I can see the coverage date parsed correctly, but for the badge it shows unknow, is there a setting I can change to make it always display the percentage even the pipeline fails?