Set directory input type to search, fixes #20