Corrected condition for ignoring callback