Fixed problem with TIME and PHASE flags not updating.  Added test.