Using "Select all modified packages" shortcut in play test mode crashes studio on Mac

I connected the “Select all modified packages” shortcut to Alt+Cmd+P. When I press it in play test mode it instantly crashes studio.

I’m using a Mac.

Expected behavior

Nothing should happen and studio shouldn’t crash.