Moore cost the Democrats the election