Not sure if this method is used anywhere, but it should not have worked correctly. This should correct it. Add a unit test for this class.