QuickMod refactor

This way there's an extra return. Please have the non-inverting if contain the for loop.