fixed issue with isAll4 always being false.

Signed-off-by: Chris Jones <chris@jonezy.org>
Merge pull request #295 from jonezy/master

fixed issue with isAll4 always being false.