Properly check for invalid "shortcut"