Fix views not appended to list not being inserted in the correct place.

This fixes #1