Ensure parse errors are propagated for badly escaped statements in server