CRM-15457

Take care of empty entity-id or table, in parent methods.