Fix for ibox $user_class not being applied. Addresses #309

Fixes problem with custom classes not being applied.