Fix empty batch statuses selection causing a 500 error (#17532)
Fix empty batch statuses selection causing a 500 error (#17532)

* Fix empty batch statuses selection causing a 500 error

* Simplify current_params
ykzts/mastodon,imas/mastodon,MitarashiDango/mastodon,tootcafe/mastodon,ykzts/mastodon,Ryanaka/mastodon,pinfort/mastodon,gol-cha/mastodon,masto-donte-com-br/mastodon,masto-donte-com-br/mastodon,lindwurm/mastodon,cobodo/mastodon,maa123/mastodon,musashino205/mastodon,im-in-space/mastodon,maa123/mastodon,musashino205/mastodon,h3zjp/mastodon,MitarashiDango/mastodon,MitarashiDango/mastodon,koba-lab/mastodon,imas/mastodon,gol-cha/mastodon,h3zjp/mastodon,h3zjp/mastodon,Ryanaka/mastodon,lindwurm/mastodon,tootcafe/mastodon,im-in-space/mastodon,cobodo/mastodon,maa123/mastodon,koba-lab/mastodon,yukimochi/mastodon,gol-cha/mastodon,im-in-space/mastodon,yukimochi/mastodon,ykzts/mastodon,theoria24/mastodon,pinfort/mastodon,theoria24/mastodon,koba-lab/mastodon,imas/mastodon,glitch-soc/mastodon,lindwurm/mastodon,imas/mastodon,glitch-soc/mastodon,ykzts/mastodon,cobodo/mastodon,musashino205/mastodon,maa123/mastodon,cobodo/mastodon,gol-cha/mastodon,theoria24/mastodon,Ryanaka/mastodon,theoria24/mastodon,MitarashiDango/mastodon,im-in-space/mastodon,masto-donte-com-br/mastodon,glitch-soc/mastodon,masto-donte-com-br/mastodon,musashino205/mastodon,yukimochi/mastodon,tootcafe/mastodon,tootcafe/mastodon,lindwurm/mastodon,yukimochi/mastodon,h3zjp/mastodon,pinfort/mastodon,Ryanaka/mastodon,pinfort/mastodon,glitch-soc/mastodon,koba-lab/mastodon