Fixed bug that retrieve() was always returning null when used in filter() expression.