In some cases, disabled filters weren't properly being applied within the writeQuery methods. This was because the disabled filter arrays were sparse - though their indexes matched properly when disabled is true for a filter, if they have empty elements at the end, the allFilters concat'ed array that writeQuery loops over won't match the allDisabledFilters concat'ed array.
This pads out the disabled arrays first to fix that issue without having to reconfigure the loops.
In some cases, disabled filters weren't properly being applied within the writeQuery methods. This was because the disabled filter arrays were sparse - though their indexes matched properly when disabled is true for a filter, if they have empty elements at the end, the
allFilters
concat'ed array that writeQuery loops over won't match theallDisabledFilters
concat'ed array.This pads out the disabled arrays first to fix that issue without having to reconfigure the loops.