Issue #1812692 by labboy0276, DanChadwick: Fixed incomplete error checking in views submission handler.