Corrected check_monthly_partitions procedure to not fail on warning