A few safety checks for the vsx_statelist.cpp