bug 7894 [SIGNED-OFF]: crude fix: convert results array into an arrayref