Logic was backwards - needed and instead of or