found, created a unittest for, corrected an edge case bug