Smartanswers: Calculate maternity pay - date calculation fix

https://www.pivotaltracker.com/story/show/74443074