Fix: Method getPrimaryKeyProperty not returning the property.