Study search fields added to request; unified reference handling code