Minor formatting changes, changed a comparison to NULL to a comparison to BLANK