Added indices to record model
Added filtering on additional fields to record routes