I wouldn't hesitate a second on a Gen three 9mm or 45. Just on the 40. I would reasearch a Gen 4 9mm before dropping the cash.
I have been spending a healthy amount of time at our range teaching and with all the changes to our pistols out of the 60 students I have had this month the only malfunctions I have seen were ammunition related.
The thing is agencys get the fixes before the general market is taken care of. Free guinea pigs and a way to research issues in the field and under a divers amount of trained shooters with iinstructors to decide if it was human error, ammo or the gun itself. We run about 500 of the same model and a handfull of 23's and 27's.
When you are having 40 or 50 go down with the same problem or 400 of them with bad triggers its an issue.