Fixed an intellectual oversight in my coding