Some bugs with newer active record.