Added a check for direction when overriding for the super-user. Fixes #56.