Clean collection inputs and fix job search route