Fixed the custom snippeting for the REST and Search Page results