Mathematica was originally designed so that expressions such as a x/x are simplified to just a before any other mechanism or check could intervene. This is probably efficient for calculations, but it exposes the system to criticism. I suppose that Wolfram Alpha has new code that catches the problem, but only when the coefficient is numerical.