Fix OIS class for ConstantScoreQuery