Fixed a minor problem that was causing major grief!