Fixed error in last commit. Thanks Simon Charette.