Mash efficiency measures what goes into the boiler. Brew house efficiency measures what goes into the fermenter.
If you are exceeding the recipe gravity then you need to adjust your software or calculations to account for that. Doing the adjustment will lower the base grain amount down a bit to match your systems efficiency.
I found a good article here that better explains it all: