Try this,
CASE
WHEN datediff(month,@as_of_date, #lease_scheds.end_date) < 0 THEN 0 ELSE datediff(month,@as_of_date, #lease_scheds.end_date)
END
By using case I tell the value to be 0 when less than 0 otherwise print the value.
"Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)