Fixed BUG. Typo in a set caused overflow