Prevent duplicate rows using config option for fixed preview view

Fix #157.