Check for valid arguments in Hermitian eigensolver when eigenvalues are reqested within an interval