filter the invalid active contest and upcoming contest data