sahi: changed way how we search for first row in resource child history table