Fixed collision checking error

Got rid of continue in for loop