fixing CommandPatch to avoid error in FF

hacking around this issue https://github.com/guardian/scribe/issues/208