Deal with multiple line addresses

Fixes #1 by removing all matching lines from a pool; rather than expecting them to be in fixed positions