added back keyword filtering capability to the nested model