fix query set subclass cast