Cleaned up vout check.