Fixes #1052: unset related data when ActiveRecord::refresh() is called.