your using a double negitive, think of it this way

a number between 1 and 10 is not 5 or is not 6, that dosent help at all as it can be still 5 or 6, its allways going to be != to one of them