Fixed status check.
Merge pull request #3 from mrdanpsmith/master

Fixed status check.