null-ptr-exp - is start or end dates are null, convertTo only compares IDs
null-ptr-exp - code revire fix
Merge pull request #27 from kazoompa/null-ptr-exp

null-ptr-exp - is start or end dates are null, convertTo only compares IDs