Fixed a bug where .same_month_as scope would no return if the date given is in the last day of the month