Exception for 0-length vector layer check.