fixed searching for inline templates - #304
version