(handle_display_prop): Fix recognition of subproperty