Fixed bug in isComplete() allowing gift exploiting