Fixes error in generate_users rake task.