Ok, was able to confirm your issue. Have created a bug ticket for further investigation and fixing. The reason it's doing this is it thinks the number is the user id when it is actually the username. This breaks it being able to reverse the username to user id and navigate to the users profile properly.
forge.joomlapolis.com/issues/4802