Fix a few major bugs, including a simple_form dup and the referrals post error