Fixed raid claiming part

Replaced a wrong next with a simple return as
we are not within the loop anymore.