Fixing double spaces in references

In some odd spots there were unnecessary extra spaces.
This removes them.