Fixed bug in SIMC_Queue_State().. for real this time