Prevent overploting by filtering data