Please note that 'FFA/GA' is a valid current status for the article history template, your code in line 154 may fail to retrieve this information.
https://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=843415783
Also, Human is marked as B/FFA/DGA, where article history would only show it as FFA, you may have to, well, be aware of that.
Please note that 'FFA/GA' is a valid current status for the article history template, your code in line 154 may fail to retrieve this information. https://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=843415783 Also, Human is marked as B/FFA/DGA, where article history would only show it as FFA, you may have to, well, be aware of that.