Fix borked ported CASL patch

Apparently this is the only thing I messed up doing the port.  Not too shabby.