Reformat bug for nested conditionals, gif attached

in SQL Prompt
I think this short video demonstrates the issue fairly comprehensively:
https://gfycat.com/flusteredbruisedcommongonolek
I have attached my prompt.settings.
https://gfycat.com/flusteredbruisedcommongonolek
I have attached my prompt.settings.