merge
add a max value to opFilterLabels
don't crash if extendSlice gets an integer