Don't select $this->contenttype['record_template'] if file doesn't exist. Fixes #163.
Make .previous and .next use parameter for field. Fixes #165
Oops.