Fix findnext on BitArrays
Update findnext to use helper macros.
Merge pull request #2479 from kmsquire/fix_bitarray

Fix findnext on BitArrays