Fixed some minor mistakes

Fixed a logic error in status reader. I forgot to put parenthesis
between my ANDs and it screwed the whole thing up.