Update GrumpyQueryExpander.java

solved bug that added empty Ops when a subclass is not implemented in any endpoint