Add by_amount scope to levels model