Update build_listing.py

Try to fix bug with revision limits