Truth table tasks: Irrelevance and cognitive ability