CommandTarget: Rescue from choking in ASPX (#889)

Fixes #889.