CRM-15501 Wrong File ID on Public Multi-Record Detail View Fix

Fix for https://issues.civicrm.org/jira/browse/CRM-15501