Fixed "removePreferredDetail" locks due a infinite loop.

Missing interator increment.

Change-Id: Iee4a5d337b96c67d26474973a1e7d6a33d8b0f9d
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>