pmperm: re-adjusted to work with single reference fields.

Signed-off-by: D34dMan <D34dMan@751698.no-reply.drupal.org>