Adding range query via field action

This fixes issue #155.