Texas church gunman’s prior conviction never logged in U.S. database