Fix #7 by changing the way date arrays are compared.