Update Commandremove.java

Fix class checking in /remove