more checks on secondary key blank vs null