trq-2143 Fixed a deadlock when deleting arrays.

Conflicts:

	src/server/req_delete.c
Took out an unneeded recursion call.
Fixed a unit test.