fix logic reversal in apache.pm