[ticket/12559] Applied DeMorgan and removed unnecessary true:false

PHPBB3-12559