Cleanup inactive user fails

I’ve did some further investigation and it might be related to the user in question being named “max”. This seems to be in conflict with this line of code: