Data criteria stop dates are optional; fixed an incorrect comparison