"unable to find this record" issue: possible fix

A false alert was generated when form/details had some list views to display using content plugin code and the list (s) had some view/access restrictions set in prefilters and access settings. 
Additional condition in if statement ensures that the error msg would apply only to the current form or details view.
The issue was also described here:
http://fabrikar.com/forums/index.php?threads/false-alert-we-are-unable-to-find-this-record-in-details-view.38862/