Removed unneeded AND operation.