Resolve issue with backward CREATE paths

Conversion from AST to create commands was mismatching ends. Resolves #1183.
Merge pull request #1200 from cleishm/backward_path_fix

Resolve issue with backward CREATE paths