Fix condition of non-numeric key