Changed DB index to 'Reference' and worked on callback.