Default category first item not always key '0' (Bug #1315960)

If no category with key = '0' it causes an error so we need to get
first item in array rather than item with key = 0

Change-Id: I4c8adc45944704205fccbdaa3259ad27998b9430
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Merge "Default category first item not always key '0' (Bug #1315960)"