PropertyStatisticsTable avoid null entries / undefined offset notice

A fresh install will have properties specified (Has type, Allows value etc)
for which no entry exists in smw_prop_stats table therefore we have to
check if the row exists otherwise it is a null entry.

Change-Id: I40e554b5e8a1bfb374cb04bb7d7d220f34597b38