Fix artificial data truncation

Under certain corner cases, selfJoin wasn't properly processing events.  This fixes that.

@jebeck @nicolashery 

This is a relatively simple fix to some logic that solves an issue we've run into with user data.  There're a number of whitespace changes (primarily in convertbasal.js), so check out the diff with `w=1`.

Merge at will, pls