Fixes command messages

Fixes the broken return values for the maxlength and maxqueue methods