Fixes an error I could not find the cause for.
Revert