Better error message for bad lab numbers