Fixed amazingly stupid bug due to copy/paste... lesson learned.