!prop: Fix new_prop_id() when no props exist.

Signed-off-by: Martin Stone <martin@d7415.co.uk>