The check for durability should be done at the same point in CommandLogImpl so that the sequencing Ariel mentioned is maintained though.  I assume you're just replacing that horrible string matching there with a check of the durable flag from here?