title: What is the correct way to add a Date Filter to a scripted search (SuiteScript 1.0)?
body: <p>I have a script built search in SS1.0 that includes a date range filter, however some transactions continue to be included despite their <code>{trandate}</code> being outside the given range.</p>
  
  <p>I have tried both adding filter objects, and using a filter Expression.</p>
  
  <p>Currently it looks like:</p>
  
  <pre><code>filters.push(new nlobjSearchFilter('trandate',null,'onorafter',startdate));
  filters.push(new nlobjSearchFilter('trandate',null,'onorbefore',statementdate));
  </code></pre>
  
  <p>Which should result in retrieving transactions between start date and statementdate <em>inclusive</em>.</p>
  
  <p>Yet, still get results outside the range (ie, before the startdate)</p>