Fixed quick_check() and integrity_check() return value