Added check that data of size 1 is not permitted.