Fixed: Incorrect variable being referenced.