dispatcher: fix weight attr comparison