Fix for issue #553.

This version uses the skipboundscheck member variable.