Fixed bug where paste didn't trigger the check