Fix: find_using_constructor() crashes if keys is empty