Added check so that we only compute Atkin-Lehner for quadratic character