Fixed issue where delete button in ipad layout actually duplicated record.