Of course it matters - now you return false even if the number is primeQuote:
Try not to use 'return' in loops or functions, but affect a local variable which you return always in the end (although here it doesn't really matter).
you do not check 2 to be a divider
you check all numbers even if the 3 is a divider
so better stop fixing functions in this way - you enter too many bugs