Fixed device status polling bug.