Fixed bug with ResourceSearchParameter related to the [issue #48].