Fix attachment search in front