Added a function to find NULL's and coerce them. Looking better now.