Moved Pseudo-pure check for T,Q into the update_twophase function

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>