fixed a couple of bugs on minMaxInPeriod(), in particular LAST_MONTH and LAST_YEAR
fixed a couple of bugs on minMaxInPeriod(), in particular LAST_MONTH and LAST_YEAR

dedalozzo/reindex,dedalozzo/pit-press,reindexltd/reindex