Wrap end date in quotes

Pretty sure this will fix the bug, going to double check the acceptance tests this time.