Changed to check Syntax.IsCompleteSubmission

Fixes #692