Fix wrong tail line count, causing multiple entries in collection config