The effect of an irrelevant premise on temporal and spatial reasoning