Assuming default controls, I can't reproduce this issue on Arch GNU/Linux. This could also be caused by a hardware limitation regarding your keyboard, as some keyboards don't let you press a lot of keys at once.
Works as intended, it's supposed to eject all mobs including players.
EDIT: Are you looking for Powered Rails instead?
Duplicate of MC-142134.