Fixed bug in rpgclass command.

Signed-off-by: Zyk <zyk6870@gmail.com>