The hardness profile as a tool to detect spurious stationary points in the potential energy surface