Fixed: Redirection error when creating a task from a form menu item. Relates to #197