Improved params checking in ReadQethAttributes.

Simple forgotten commit from pre-ruby era.