Add missing dependency.
Add more bool checks
Merge pull request #2 from skial/redux1

Redux1