[Form] Fixed regression causing invalid "WHERE id IN ()" statements