bug fixed: incorrect types cause strange behavior of shouldBeGood function