making find return empty array when no records found