When we say ברכת החודש on the שבת before חודש אב, we ask ה׳ to give us a month full of ששון and שמחה. However, the משנה in תענית פרק ד משנה ה, the רמב׳׳ם in הלכות תעניות פרק ה הלכה ו, and the שולחן ערוך in אורח חיים סימן תקנא סעיף א all say that when the month of אב comes, we're supposed to lessen our שמחה.
How can we pray that the month of אב be a month full of שמחה when the הלכה clearly says that we lessen our שמחה in חודש אב?