fix getting scope for refresh link in has_many subforms