Split get_next_task query into multiple lines for readability
Split get_next_task query into multiple lines for readability

Co-Authored-By: Matt Westcott <f80d0ca101e967b50b730ddf8e8aca0de85e8df6@torchbox.com>

torchbox/wagtail,takeflight/wagtail,wagtail/wagtail,zerolab/wagtail,jnns/wagtail,FlipperPA/wagtail,wagtail/wagtail,takeflight/wagtail,FlipperPA/wagtail,zerolab/wagtail,zerolab/wagtail,gasman/wagtail,kaedroho/wagtail,jnns/wagtail,takeflight/wagtail,thenewguy/wagtail,FlipperPA/wagtail,torchbox/wagtail,kaedroho/wagtail,jnns/wagtail,jnns/wagtail,rsalmaso/wagtail,gasman/wagtail,kaedroho/wagtail,torchbox/wagtail,rsalmaso/wagtail,rsalmaso/wagtail,gasman/wagtail,thenewguy/wagtail,gasman/wagtail,kaedroho/wagtail,mixxorz/wagtail,mixxorz/wagtail,mixxorz/wagtail,zerolab/wagtail,wagtail/wagtail,wagtail/wagtail,kaedroho/wagtail,mixxorz/wagtail,thenewguy/wagtail,mixxorz/wagtail,takeflight/wagtail,thenewguy/wagtail,rsalmaso/wagtail,gasman/wagtail,thenewguy/wagtail,torchbox/wagtail,zerolab/wagtail,rsalmaso/wagtail,FlipperPA/wagtail,wagtail/wagtail