Rake task to fix actor relations