Changed attribute name serial_number to serialid in views