Was using a wrong variable. This is now fixed.