fixed a hilarious bug with day matching instead of date matching