after looking at the code,the date seems to not be checked against the category limit. the select/dropdown is, but not when inserting the data, we should fix thator an user may set a non expired listing.
with the liath's plugin, you need to modify your theme with each update, why not use the proper hooks to do it?