Fix bug that occurs when only a single placeholder is present in the database