This looks like the wrong deadline being inserted here.  You probably want `sa_register_deadline`.