Use logical AND operator instead of bitwise one.

Signed-off-by: Staartvin <mijnleraar@msn.com>