Inmates no mates

From the Herald political diary:

Political correctness is still alive and well in the Party. In a remit relating to Labour's , the word “inmates” was changed to the more anonymous “people”.

Was it because mates implies males?