Fix params in has_many modal to work with STI