Fix indentation and bug in search partial.