JK, found a bug using the test files given.  Fixed and submitted!