Fixed inconsistent response when returning an empty collection.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>